import { axiosGet, axiosPost, axiosPut, axiosDelete } from '/@/api/RequestBase';
import { SqlSugarPagedList } from '/@/api/BaseDto';
import { BaseKeywordPageInput } from '/@/api/BaseDto';
import { BasEnumTitle } from './dto/BasEnumTitle';
export type { BasEnumTitle };

const service = 'basEnumTitle/'; // 要写后面的斜杠, 不要写前面的斜杠

export function BasEnumTitleApi() {
	return {
		page: (data?: BaseKeywordPageInput) => {
			return axiosPost(service + 'page', data) as Promise<SqlSugarPagedList<BasEnumTitle>>;
		},
	};
}
